package com.lzh.others.basejava.Anotation_20.database;

/**
 * @Classname Uniqueness
 * @Description 如果要另嵌入的@Constraints注解中unique()元素为true，并以此作为constraints()元素的默认值，则需要定义该元素
 * @Date 2021/11/1 20:50
 * @Created by liuzihao
 */
public @interface Uniqueness {
    Constraints constraints()
            default @Constraints(unique = true);
}
